[INFO] cloning repository https://github.com/cauebs/secret-hitler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cauebs/secret-hitler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 871a9eaac2449b1c29c298d16160607155846d7e
[INFO] checking cauebs/secret-hitler against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcauebs%2Fsecret-hitler" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/cauebs/secret-hitler on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/cauebs/secret-hitler
[INFO] finished tweaking git repo https://github.com/cauebs/secret-hitler
[INFO] tweaked toml for git repo https://github.com/cauebs/secret-hitler written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/cauebs/secret-hitler already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb7b5492e279db83a045fc5107ca78cb06a72b9fbb875b441b7eb5837202a90f
[INFO] running `Command { std: "docker" "start" "-a" "cb7b5492e279db83a045fc5107ca78cb06a72b9fbb875b441b7eb5837202a90f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb7b5492e279db83a045fc5107ca78cb06a72b9fbb875b441b7eb5837202a90f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb7b5492e279db83a045fc5107ca78cb06a72b9fbb875b441b7eb5837202a90f", kill_on_drop: false }`
[INFO] [stdout] cb7b5492e279db83a045fc5107ca78cb06a72b9fbb875b441b7eb5837202a90f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3b72d55222bc9c316d446ca6471ee4f4ff2ffa982dfd836c72b553da72d60738
[INFO] running `Command { std: "docker" "start" "-a" "3b72d55222bc9c316d446ca6471ee4f4ff2ffa982dfd836c72b553da72d60738", kill_on_drop: false }`
[INFO] [stderr]     Checking libc v0.2.36
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking secret-hitler v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             0...4 => Err(Error::TooFewPlayers),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             5...10 => Ok(Self {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     (2, 7...8) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             0...4 => Err(Error::TooFewPlayers),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     (3, 5...6) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (3, 7...8) => (Some(CallSpecialElection), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             5...10 => Ok(Self {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     (3, 9...10) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     (2, 7...8) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     (3, 5...6) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (3, 7...8) => (Some(CallSpecialElection), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     (3, 9...10) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/game.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         for (mut player, role) in self.players.iter_mut().zip(roles) {
[INFO] [stdout]    |              ----^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `policy_deck`, `policy_tracker`, `government_tracker`, and `election_tracker` are never read
[INFO] [stdout]   --> src/core/game.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 15 |     pub players: Vec<Player>,
[INFO] [stdout] 16 |     policy_deck: PolicyDeck,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     policy_tracker: PolicyTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     government_tracker: GovernmentTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     election_tracker: ElectionTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `history` is never read
[INFO] [stdout]  --> src/core/government.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GovernmentTracker {
[INFO] [stdout]   |            ----------------- field in this struct
[INFO] [stdout] 9 |     history: Vec<Government>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `player_count` and `consecutive_fails` are never read
[INFO] [stdout]   --> src/core/government.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ElectionTracker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 32 |     player_count: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 33 |     current_poll: HashMap<PlayerID, Vote>,
[INFO] [stdout] 34 |     consecutive_fails: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_liberal` and `is_fascist` are never used
[INFO] [stdout]   --> src/core/policy.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Policy {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 8  |     fn is_liberal(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn is_fascist(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             0...4 => Err(Error::TooFewPlayers),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             5...10 => Ok(Self {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     (2, 7...8) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     (3, 5...6) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (3, 7...8) => (Some(CallSpecialElection), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     (3, 9...10) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             0...4 => Err(Error::TooFewPlayers),
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/game.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             5...10 => Ok(Self {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:23
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                       ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:36:30
[INFO] [stdout]    |
[INFO] [stdout] 36 |                     (1...2, 9...10) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     (2, 7...8) => (Some(InvestigateLoyalty), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:38:26
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     (3, 5...6) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:39:26
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     (3, 7...8) => (Some(CallSpecialElection), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/core/policy_tracker.rs:40:26
[INFO] [stdout]    |
[INFO] [stdout] 40 |                     (3, 9...10) => (Some(PolicyPeek), None),
[INFO] [stdout]    |                          ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/core/game.rs:65:14
[INFO] [stdout]    |
[INFO] [stdout] 65 |         for (mut player, role) in self.players.iter_mut().zip(roles) {
[INFO] [stdout]    |              ----^^^^^^
[INFO] [stdout]    |              |
[INFO] [stdout]    |              help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `is_liberal` is private
[INFO] [stdout]   --> src/core/policy_deck.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |             assert_eq!(all_cards.filter(Policy::is_liberal).count(), 11);
[INFO] [stdout]    |                                                 ^^^^^^^^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/core/policy.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn is_liberal(&self) -> bool {
[INFO] [stdout]    |     ---------------------------- private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0624]: method `is_liberal` is private
[INFO] [stdout]   --> src/core/policy_deck.rs:57:49
[INFO] [stdout]    |
[INFO] [stdout] 57 |             assert_eq!(all_cards.filter(Policy::is_liberal).count(), 11);
[INFO] [stdout]    |                                                 ^^^^^^^^^^ private method
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/core/policy.rs:8:5
[INFO] [stdout]    |
[INFO] [stdout] 8  |     fn is_liberal(&self) -> bool {
[INFO] [stdout]    |     ---------------------------- private method defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]  --> src/main.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let mut players = (0..10).map(|i| {
[INFO] [stdout]   |         ----^^^^^^^
[INFO] [stdout]   |         |
[INFO] [stdout]   |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `policy_deck`, `policy_tracker`, `government_tracker`, and `election_tracker` are never read
[INFO] [stdout]   --> src/core/game.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 15 |     pub players: Vec<Player>,
[INFO] [stdout] 16 |     policy_deck: PolicyDeck,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 17 |     policy_tracker: PolicyTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     government_tracker: GovernmentTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     election_tracker: ElectionTracker,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0624`.
[INFO] [stdout] 
[INFO] [stdout] warning: field `history` is never read
[INFO] [stdout]  --> src/core/government.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct GovernmentTracker {
[INFO] [stdout]   |            ----------------- field in this struct
[INFO] [stdout] 9 |     history: Vec<Government>,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `player_count` and `consecutive_fails` are never read
[INFO] [stdout]   --> src/core/government.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct ElectionTracker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 32 |     player_count: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 33 |     current_poll: HashMap<PlayerID, Vote>,
[INFO] [stdout] 34 |     consecutive_fails: u8,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_liberal` and `is_fascist` are never used
[INFO] [stdout]   --> src/core/policy.rs:8:8
[INFO] [stdout]    |
[INFO] [stdout] 7  | impl Policy {
[INFO] [stdout]    | ----------- methods in this implementation
[INFO] [stdout] 8  |     fn is_liberal(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn is_fascist(&self) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0624`.
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `secret-hitler` (lib test) due to 2 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `secret-hitler` (bin "secret-hitler" test) due to 2 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3b72d55222bc9c316d446ca6471ee4f4ff2ffa982dfd836c72b553da72d60738", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b72d55222bc9c316d446ca6471ee4f4ff2ffa982dfd836c72b553da72d60738", kill_on_drop: false }`
[INFO] [stdout] 3b72d55222bc9c316d446ca6471ee4f4ff2ffa982dfd836c72b553da72d60738
